﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace _0812045
{
    public class MapManager : EntityManager
    {
        public override void InitPrototypes(ContentManager contentManager)
        {
            _nprototype = 3;
            _prototype = new Map[_nprototype]; // read information from configuration file(s)

            _prototype[0] = new Map();
            _prototype[0].Init(contentManager, 0, "Level1");

            _prototype[1] = new Map();
            _prototype[1].Init(contentManager, 0, "Level2");

            _prototype[2] = new Map();
            _prototype[2].Init(contentManager, 0, "Level3");
        }
    }
}
